Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 4 - Movie Resource Formats / Overview of the Movie Resource Atom


Media Atoms

Media atoms define the data for a movie track. The media atom contains information that specifies the component that is to interpret the media data, and it also specifies the data references. Figure 4-9 shows the layout of a media atom.

Figure 4-9 The layout of a media atom

The media atom has an atom type of 'mdia'. It may contain other atoms, such as a media header ('mdhd'), a handler reference ('hdlr'), media information ('minf'), and user-defined data ('udta'). The only required atom in a media atom is the media header atom.

Note
The handler reference atom lets you know what kind of media this media atom contains--for example, video or sound. The layout of
the media information atom is specific to the media handler that is to interpret the media. "Media Information Atoms," which begins on page 4-18, discusses how data may be stored in a media, using the video media format defined by Apple as an example.
You define a media atom by specifying these elements:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996